home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / flrsrcms.hqx / Resource Utilities doc / background_10485.xml next >
Extensible Markup Language  |  1993-02-04  |  6KB  |  177 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>10485</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_10930.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3274.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>409</left>
  23.             <top>223</top>
  24.             <right>452</right>
  25.             <bottom>256</bottom>
  26.         </rect>
  27.         <style>rectangle</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>902</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Go Prev</name>
  40.         <script>On MouseUpVisual effect wipe rightGo to previous cardEnd MouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>463</left>
  54.             <top>223</top>
  55.             <right>506</right>
  56.             <bottom>256</bottom>
  57.         </rect>
  58.         <style>rectangle</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>26425</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Go Next</name>
  71.         <script>On MouseUpVisual effect wipe leftGo to next cardEnd MouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>3</id>
  75.         <type>field</type>
  76.         <visible> <true /> </visible>
  77.         <dontWrap> <false /> </dontWrap>
  78.         <dontSearch> <false /> </dontSearch>
  79.         <sharedText> <false /> </sharedText>
  80.         <fixedLineHeight> <false /> </fixedLineHeight>
  81.         <autoTab> <true /> </autoTab>
  82.         <lockText> <true /> </lockText>
  83.         <rect>
  84.             <left>97</left>
  85.             <top>22</top>
  86.             <right>268</right>
  87.             <bottom>40</bottom>
  88.         </rect>
  89.         <style>rectangle</style>
  90.         <autoSelect> <false /> </autoSelect>
  91.         <showLines> <false /> </showLines>
  92.         <wideMargins> <false /> </wideMargins>
  93.         <multipleLines> <false /> </multipleLines>
  94.         <reservedFamily> 0 </reservedFamily>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>0</icon>
  97.         <textAlign>left</textAlign>
  98.         <font>Geneva</font>
  99.         <textSize>10</textSize>
  100.         <textStyle>bold</textStyle>
  101.         <textHeight>13</textHeight>
  102.         <name>Name</name>
  103.         <script></script>
  104.     </part>
  105.     <part>
  106.         <id>4</id>
  107.         <type>field</type>
  108.         <visible> <true /> </visible>
  109.         <dontWrap> <false /> </dontWrap>
  110.         <dontSearch> <false /> </dontSearch>
  111.         <sharedText> <true /> </sharedText>
  112.         <fixedLineHeight> <false /> </fixedLineHeight>
  113.         <autoTab> <true /> </autoTab>
  114.         <lockText> <true /> </lockText>
  115.         <rect>
  116.             <left>8</left>
  117.             <top>22</top>
  118.             <right>92</right>
  119.             <bottom>40</bottom>
  120.         </rect>
  121.         <style>rectangle</style>
  122.         <autoSelect> <false /> </autoSelect>
  123.         <showLines> <false /> </showLines>
  124.         <wideMargins> <false /> </wideMargins>
  125.         <multipleLines> <false /> </multipleLines>
  126.         <reservedFamily> 0 </reservedFamily>
  127.         <titleWidth>0</titleWidth>
  128.         <icon>0</icon>
  129.         <textAlign>left</textAlign>
  130.         <font>Chicago</font>
  131.         <textSize>12</textSize>
  132.         <textStyle>plain</textStyle>
  133.         <textHeight>16</textHeight>
  134.         <name></name>
  135.         <script></script>
  136.     </part>
  137.     <part>
  138.         <id>5</id>
  139.         <type>field</type>
  140.         <visible> <true /> </visible>
  141.         <dontWrap> <false /> </dontWrap>
  142.         <dontSearch> <false /> </dontSearch>
  143.         <sharedText> <false /> </sharedText>
  144.         <fixedLineHeight> <false /> </fixedLineHeight>
  145.         <autoTab> <false /> </autoTab>
  146.         <lockText> <true /> </lockText>
  147.         <rect>
  148.             <left>79</left>
  149.             <top>61</top>
  150.             <right>506</right>
  151.             <bottom>213</bottom>
  152.         </rect>
  153.         <style>scrolling</style>
  154.         <autoSelect> <false /> </autoSelect>
  155.         <showLines> <false /> </showLines>
  156.         <wideMargins> <false /> </wideMargins>
  157.         <multipleLines> <false /> </multipleLines>
  158.         <reservedFamily> 0 </reservedFamily>
  159.         <titleWidth>0</titleWidth>
  160.         <icon>0</icon>
  161.         <textAlign>left</textAlign>
  162.         <font>Geneva</font>
  163.         <textSize>10</textSize>
  164.         <textStyle>plain</textStyle>
  165.         <textHeight>13</textHeight>
  166.         <name>Description</name>
  167.         <script>On MouseUpGet the value of the ClickChunkFind whole it in background field "Name"End MouseUp</script>
  168.     </part>
  169.     <content>
  170.         <layer>background</layer>
  171.         <id>4</id>
  172.         <text>Data Type:</text>
  173.     </content>
  174.     <name>Data Types</name>
  175.     <script>---- Utility routines--On UnlockFieldsRepeat with i = 1 to the number of background fieldsSet LockText of background field i to falseEnd RepeatEnd UnlockFieldsOn LockFieldsRepeat with i = 1 to the number of background fieldsSet LockText of background field i to trueEnd RepeatEnd LockFieldsOn SortCardsIf the LockText of background field "Name" thenAnswer "Unlock fields first."Exit SortCardsEnd IfPush this cardSort this background by field "Name"Pop cardEnd SortCardsOn DeleteAllCardsIf the LockText of background field "Name" thenAnswer "Unlock fields first."Exit DeleteAllCardsEnd IfAnswer "Really delete all cards?" with "Do It" or "IΓÇÖm a Teapot"If it is not "Do It" thenExit DeleteAllCardsEnd IfGo to first card of this backgroundPut 0 into CardsDeletedRepeat with i = 1 to the number of cards in this background - 1Set cursor to busyDoMenu "Delete Card"Add 1 to CardsDeletedIf CardsDeleted = 100 thenDoMenu "Compact Stack"Put 0 into CardsDeletedEnd IfEnd RepeatRepeat with i = 1 to the number of background fieldsIf not the LockText of background field i thenPut empty into background field iEnd IfEnd RepeatIf CardsDeleted Γëá 0 thenDoMenu "Compact Stack"End IfEnd DeleteAllCards</script>
  176. </background>
  177.